package top.wangjiu.reactive.rpc.registration;

import java.net.InetSocketAddress;
import java.util.List;

/**
 * @ClassName ServerAddrList
 * @Description TODO
 * @Author wangjiu
 * @Date 2021/7/15 12:19 下午
 */
public interface ServerAddrList {

    List<InetSocketAddress> getAddressList(String service,int version);

    boolean verify(String service,int version,InetSocketAddress address);

}
